package com.saikei.statstitlebar;

import java.util.List;

public interface TitleHelp {

    void createLeftBody(BarMenu barMenu);
    void createRightBody(BarMenu barMenu);

    BarTextView getBarCenterText();
    BarTextView getBarSubCenterText();
    /**
     * @Author:gewu
     * @Time:2022/10/2723:24
     * @Description:设置文字颜色是否自动,不自动就是默认颜色
     */
    void setTextColorAuto(boolean isAuto);
    void setImageColorAuto(boolean isAuto);

    /**
     * @Author:gewu
     * @Time:2022/10/2723:23
     * @Description:主标题文字颜色
     */
    void setBarTextColor(int color);
    void setBarSubTextColor(int color);
    void setBarImageColor(int color);

    /**
     * @Author:gewu
     * @Time:2022/10/2723:23
     * @Description:副标题文字颜色
     */
    void setLeftBodyChildPadding(float padding);
    void setRightBodyChildPadding(float padding);

    /**
     * @Author:gewu
     * @Time:2022/10/3001:43
     * @Description:获取第几次出现的TextView,也就是Item中第几个Textview,which>=0
     */
    BarTextView getBarWhichTextView(List<BarItem> menus, int which);
    BarImageView getBarWhichImageView(List<BarItem> menus,int which);

    BarEditText createEditText();

}
